//
//  StorageUtil.h
//  寻TA
//
//  Created by 众里寻TA on 15-2-8.
//  Copyright (c) 2015年 Ta. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface StorageUtil : NSObject

+ (NSDictionary *) readFile:(NSString *)fileName;

+ (NSMutableArray *) readFileMutableArray:(NSString *)fileName;

+ (NSString *) readFileStr:(NSString *)fileName;

+ (void) writeToFile:(NSString *)filename data:(NSString*)data;

//组装文件路径
+(NSString *) formatPath:(NSString *)fileName;

+ (void) writeImageToFile:(NSString *)fileName data:(NSData*)data;
@end
